package com.ruoyi.an.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 主动安全报警附件对象 an_zhu_aam
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
public class AnZhuAam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String licenseNum;

    /** 车牌颜色 */
    @Excel(name = "车牌颜色")
    private String licenseColor;

    /** 车辆组 */
    @Excel(name = "车辆组")
    private String venicleGroup;

    /** 报警类型 */
    @Excel(name = "报警类型")
    private String alarmType;

    /** 报警来源 */
    @Excel(name = "报警来源")
    private String alarmSource;

    /** 附件类型 */
    @Excel(name = "附件类型")
    private String aamType;

    /** 附件长度 */
    @Excel(name = "附件长度")
    private String aamLength;

    /** 上传状态 */
    @Excel(name = "上传状态")
    private String uploadStatus;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 报警级别 */
    @Excel(name = "报警级别")
    private String alarmLevel;

    /** 报警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLicenseNum(String licenseNum) 
    {
        this.licenseNum = licenseNum;
    }

    public String getLicenseNum() 
    {
        return licenseNum;
    }
    public void setLicenseColor(String licenseColor) 
    {
        this.licenseColor = licenseColor;
    }

    public String getLicenseColor() 
    {
        return licenseColor;
    }
    public void setVenicleGroup(String venicleGroup) 
    {
        this.venicleGroup = venicleGroup;
    }

    public String getVenicleGroup() 
    {
        return venicleGroup;
    }
    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType() 
    {
        return alarmType;
    }
    public void setAlarmSource(String alarmSource) 
    {
        this.alarmSource = alarmSource;
    }

    public String getAlarmSource() 
    {
        return alarmSource;
    }
    public void setAamType(String aamType) 
    {
        this.aamType = aamType;
    }

    public String getAamType() 
    {
        return aamType;
    }
    public void setAamLength(String aamLength) 
    {
        this.aamLength = aamLength;
    }

    public String getAamLength() 
    {
        return aamLength;
    }
    public void setUploadStatus(String uploadStatus) 
    {
        this.uploadStatus = uploadStatus;
    }

    public String getUploadStatus() 
    {
        return uploadStatus;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setAlarmLevel(String alarmLevel) 
    {
        this.alarmLevel = alarmLevel;
    }

    public String getAlarmLevel() 
    {
        return alarmLevel;
    }
    public void setAlarmTime(Date alarmTime) 
    {
        this.alarmTime = alarmTime;
    }

    public Date getAlarmTime() 
    {
        return alarmTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("licenseNum", getLicenseNum())
            .append("licenseColor", getLicenseColor())
            .append("venicleGroup", getVenicleGroup())
            .append("alarmType", getAlarmType())
            .append("alarmSource", getAlarmSource())
            .append("aamType", getAamType())
            .append("aamLength", getAamLength())
            .append("uploadStatus", getUploadStatus())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("alarmLevel", getAlarmLevel())
            .append("alarmTime", getAlarmTime())
            .toString();
    }
}
